package com.jdiv.samples.arkanoid;

import com.jdiv.JDiv;

/**
 * @author  Joyal
 */
public class Main {

/**
 * @uml.property  name="ball"
 * @uml.associationEnd  
 */
static Ball ball;
static int fpg_1;

	public Main(){
		
		JDiv.set_title("JDiv - Bricks");
		JDiv.set_mode(JDiv.m800x600);
		
		fpg_1=JDiv.load_fpg("res/fpg/arkanoid.fpg");
		
		new Ship();
		ball=new Ball();
	
		int width = 50;
		int height= 18;
		
		for (int i=0;i < 10; i++){
			for (int j=0;j < 5; j++){
				new Brick(200+(i*width),200+(j*height));
			}
		}
		
	}
	
	public static void main(String[] args) {
		Main m=new Main();

	}

}
